From 7e8d26251291a4c8bee96f721303c745fa8d04d3 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Mon, 5 Apr 1993 21:13:43 +0000 Subject: [PATCH] (compilation-error-regexp-alist): Changed MIPS RISC CC regexp (last one) to be anchored at bol, and to never match multiple lines. --- lisp/progmodes/compile.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lisp/progmodes/compile.el b/lisp/progmodes/compile.el index bf3d917f821..2136b6b939b 100644 --- a/lisp/progmodes/compile.el +++ b/lisp/progmodes/compile.el @@ -1,6 +1,6 @@ ;;; compile.el --- run compiler as inferior of Emacs, parse error messages. -;; Copyright (C) 1985, 86, 87, 92 Free Software Foundation, Inc. +;; Copyright (C) 1985, 86, 87, 93 Free Software Foundation, Inc. ;; Author: Roland McGrath ;; Maintainer: FSF @@ -130,7 +130,7 @@ or when it is used with \\[next-error] or \\[compile-goto-error].") ;; prefixes entire sections rather than being on each line. ;; MIPS RISC CC - the one distributed with Ultrix. - (": \\([^,]+\\), line \\([0-9]+\\):" 1 2) + ("^[^,\n]+: \\([^,\n]+\\), line \\([0-9]+\\):" 1 2) ) "Alist that specifies how to match errors in compiler output. Each element has the form (REGEXP FILE-IDX LINE-IDX). -- 2.30.2